﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Department_save.aspx.cs"
    Inherits="TRPOP.CRM.Web.Department_save" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单位 </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="../../Scripts/utils.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#SelectUser").click(function () {
                show_dialog("/Common/SelectUsers.aspx?IDs=" + "", 477, 444, "选择收件人", true);
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return CheckForm(this)">
    <div class="welcomBox">
        <div class=" welcomCont listPadding">
            <p class=" mb5 c_grey postion">
                您的当前位置：<a href="../welcome.aspx" title="首页">首页</a> > <a href="Department_list.aspx"
                    title="单位管理">单位管理</a> > <span title="编辑单位">编辑单位</span></p>
            <div class="listTit">
                <div class=" fl listTit_l">
                </div>
                <div class=" fl listTit_c">
                    <h4 class="fl f14 fb">
                        单位信息</h4>
                </div>
                <div class=" fr listTit_r">
                </div>
            </div>
            <div class="listCon contentPadding">
                <table width="100%" border="0" class="f14 tableForm">
                    <tr>
                        <td class="tr pr10">
                            编码:
                        </td>
                        <td>
                            <asp:TextBox ID="txtDepartmentCode" runat="server" required="1" prompt="编码" MaxLength="10"
                                valuelength="100" ControlValueType="None" class="nametxt" Width="100px"></asp:TextBox>
                            <span class="c_red">*</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="tr pr10">
                            上级单位:
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlParentDepartment" runat="server" class="f13 searchddl" Width="240px">
                            </asp:DropDownList>
                            <span class="c_red">*</span>
                        </td>
                    </tr>
                    <tr>
                        <td width="27%" class="tr pr10">
                            名称:
                        </td>
                        <td>
                            <asp:TextBox ID="txtDepartmentName" MaxLength="46" runat="server" required="1" prompt="单位名称"
                                valuelength="100" ControlValueType="None" class="nametxt" Width="300px"></asp:TextBox>
                            <span class="c_red">*</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="BtnSubmit" runat="server" Text="确定" OnClick="BtnSubmit_Click" class=" mr50 okBtn" />
                            <input type="reset" name="BtnReset" class=" mr50 canelBtn" value="重置" /><input type="button"
                                class=" canelBtn" value="取消" onclick="window.location.href='Department_list.aspx';" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
